﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Brain.Editor
{
    public partial class LabelCheckBox : UserControl
    {
        public string Text
        {
            get { return this.label_Text.Text; }
            set { this.label_Text.Text = value; }
        }

        public bool Checked
        {
            get { return this.checkBox.Checked; }
            set { this.checkBox.Checked = value; }
        }

        public LabelCheckBox()
        {
            InitializeComponent();
        }
        public LabelCheckBox(string text)
            : this()
        {
            this.Text = text;
        }
    }
}
